home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 2000 November / cd joystick no120 novembre 2000 cd 1.iso / data / demos / gunlok / data1.cab / Program_Executable_Files / scripts / elint.gsh < prev    next >
Text File  |  2000-08-22  |  2KB  |  65 lines

  1. // defines Elint Robot
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. #ifndef INCLUDED_ELINT_GSH
  7. #define INCLUDED_ELINT_GSH
  8.  
  9. ////////////////////////////////////////////////////////////////////////////////////
  10.  
  11. #include "defaults.gsh"
  12.  
  13. hierarchy Hcy_Elint
  14. {
  15.     file "units\elint mkii.RIF"
  16.     name "elint mkii"
  17.     hotspot "dum flash"
  18. }
  19.  
  20. hierarchy Hcy_ElintShadow
  21. {
  22.     file "units\elint_shadow.RIF"
  23.     name "elint_shadow"
  24. }
  25.  
  26. hierarchy Hcy_ElintCustomize
  27. {
  28.     file "units\wepelint.RIF"
  29.     name "wepelint"
  30. }
  31.  
  32. character Chr_Elint : Chr_DefaultGoodie
  33. {
  34.     turning speed   1    // this is in revolutions per second
  35.     walking speed   1    // this is in animation cycles per second
  36.     strength        100    // initial strength points
  37.     aim             0    // how many degrees off target he can be at most
  38.     sight angle        75    // in degrees
  39.     sight range     12    // in metres
  40.     hearing range    17    // in metres
  41.     aggression        0.7    // from 0 to 1
  42.     radius            0.5    // used by the movement model
  43.     shadow hierarchy        Hcy_ElintShadow
  44.     customization hierarchy Hcy_ElintCustomize
  45.     description        elint description
  46.     status window u    0
  47.     status window v    337
  48.     gun yaw angle    180
  49. }
  50.  
  51. role Rol_Elint : Rol_DefaultRobot
  52. {
  53.     shape            Hcy_Elint
  54.     character        Chr_Elint
  55.     identifier        "ELINT"
  56.     armour            2
  57.     destructibility    Des_Explode
  58.     ai                bot
  59.     limit            8
  60. }
  61.                     
  62. ////////////////////////////////////////////////////////////////////////////////////
  63.  
  64. // end wrapper - for preventing multiple or recursive inclusions
  65. #endif // !INCLUDED_ELINT_GSH